package com.dao;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.po.TeacherInfoPO;
@Repository
public class TeacherDao {
	@Autowired
	private SqlSessionTemplate sqlTemplate;
	
	/**
	 * 查找授课教师信息
	 * @return
	 */
	
	public List<TeacherInfoPO> findTeacherInfo() {
		return sqlTemplate.selectList("teacher.findTeacherInfo");
	}
	
}
